package com.jumi.microservice.entity;

    import java.math.BigDecimal;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import java.util.Date;

    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 会员额外折扣明细
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-10-15
*/
    @ApiModel(value="会员额外折扣明细", description="会员额外折扣明细")
    public class JmExtraDiscountLog implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "佣金记录编号")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "收到佣金的用户id")
    private Integer uid;

            @ApiModelProperty(value = "分佣金订单的订单用户id")
    private Integer buyerId;

            @ApiModelProperty(value = "贡献者用户名")
    private String buyerName;

            @ApiModelProperty(value = "返还佣金的订单编号")
    private Integer orderId;

            @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderTotal;

            @ApiModelProperty(value = "返还佣金金额")
    private BigDecimal yongjin;

            @ApiModelProperty(value = "分佣时间")
    private Timestamp createTime;

            @ApiModelProperty(value = "佣金类型 1=分销佣金 2=分享奖金 3=拼团返利")
    private Boolean type;

            @ApiModelProperty(value = "佣金返还描述,1-一级下线订单，2-二级下线订单，3-三级下线订单 4-拼团返利 101系统增加")
    private Integer description;

            @ApiModelProperty(value = "订单结算状态，0-未结算，1-已结算 2-失效")
    private Boolean status;

            @ApiModelProperty(value = "返还佣金的订单号")
    private Long orderSn;

            @ApiModelProperty(value = "商品id")
    private Integer gid;

            @ApiModelProperty(value = "商品名")
    private String goodsName;
            @ApiModelProperty(value = "商品图片")
    private String goodsImage;

            @ApiModelProperty(value = "管理员名称")
    private String adminName;

//            @ApiModelProperty(value = "返利时间")
//    private Integer fanliTime;

            @ApiModelProperty(value = "收益人的等级")
    private Boolean level;

            @ApiModelProperty(value = "下单人的等级")
    private Boolean buyerLevel;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getUid() {
        return uid;
        }

            public void setUid(Integer uid) {
        this.uid = uid;
        }
        public Integer getBuyerId() {
        return buyerId;
        }

            public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
        }
        public String getBuyerName() {
        return buyerName;
        }

            public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
        }
        public Integer getOrderId() {
        return orderId;
        }

            public void setOrderId(Integer orderId) {
        this.orderId = orderId;
        }
        public BigDecimal getOrderTotal() {
        return orderTotal;
        }

            public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
        }
        public BigDecimal getYongjin() {
        return yongjin;
        }

            public void setYongjin(BigDecimal yongjin) {
        this.yongjin = yongjin;
        }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Boolean getType() {
        return type;
        }

            public void setType(Boolean type) {
        this.type = type;
        }
        public Integer getDescription() {
        return description;
        }

            public void setDescription(Integer description) {
        this.description = description;
        }
        public Boolean getStatus() {
        return status;
        }

            public void setStatus(Boolean status) {
        this.status = status;
        }
        public Long getOrderSn() {
        return orderSn;
        }

            public void setOrderSn(Long orderSn) {
        this.orderSn = orderSn;
        }
        public Integer getGid() {
        return gid;
        }

            public void setGid(Integer gid) {
        this.gid = gid;
        }
        public String getAdminName() {
        return adminName;
        }

            public void setAdminName(String adminName) {
        this.adminName = adminName;
        }
//        public Integer getFanliTime() {
//        return fanliTime;
//        }
//
//            public void setFanliTime(Integer fanliTime) {
//        this.fanliTime = fanliTime;
//        }
        public Boolean getLevel() {
        return level;
        }

            public void setLevel(Boolean level) {
        this.level = level;
        }
        public Boolean getBuyerLevel() {
        return buyerLevel;
        }

            public void setBuyerLevel(Boolean buyerLevel) {
        this.buyerLevel = buyerLevel;
        }

    @Override
    public String toString() {
    return "JmExtraDiscountLog{" +
            "id=" + id +
            ", uid=" + uid +
            ", buyerId=" + buyerId +
            ", buyerName=" + buyerName +
            ", orderId=" + orderId +
            ", orderTotal=" + orderTotal +
            ", yongjin=" + yongjin +
            ", createTime=" + createTime +
            ", type=" + type +
            ", description=" + description +
            ", status=" + status +
            ", orderSn=" + orderSn +
            ", gid=" + gid +
            ", adminName=" + adminName +
//            ", fanliTime=" + fanliTime +
            ", level=" + level +
            ", buyerLevel=" + buyerLevel +
    "}";
    }
}
